home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2005 March / Gamestar_71_2005-03_dvd.iso / Dema / willofsteel_demo.exe / {app} / Data / gui / profile.gui < prev    next >
Text File  |  2004-10-28  |  12KB  |  429 lines

  1. ID_BUTTON            = 0 
  2. ID_FRAME            = 7 
  3. PGUI_1STBUTTON_DOWN            =  0 
  4. PGUI_1STBUTTON_UP            =  1 
  5. PGUI_1STBUTTON_CLCK            =  2
  6. PGUI_1STBUTTON_DBLCLCK      =  3
  7. PGUI_1STBUTTON_DRAG            =  4
  8. PGUI_1STBUTTON_DROP            =  5
  9. PGUI_2NDBUTTON_DOWN            =  6
  10. PGUI_2NDBUTTON_UP            =  7
  11. PGUI_2NDBUTTON_CLCK            =  8
  12. PGUI_2NDBUTTON_DBLCLCK        =  9
  13. PGUI_2NDBUTTON_DRAG            = 10
  14. PGUI_2NDBUTTON_DROP            = 11
  15. PGUI_POINTER_MOVE            = 12
  16. PGUI_POINTER_HOVER            = 13
  17. PGUI_POINTER_LEAVE            = 14
  18. PGUI_POINTER_DRAG_HOVER        = 15
  19. PGUI_POINTER_DRAG_LEAVE        = 16
  20. PGUI_CHAR_PRESSED            = 17
  21. PGUI_KEY_PRESSED            = 18
  22. PGUI_VALUE_CHANGED            = 19
  23. PGUI_RELEASE_FOCUS            = 20
  24. PGUI_INITIALISATION            = 21
  25. PGUI_ANIMATION_FINISHED        = 22
  26.  
  27. CreateGUI("profile");
  28.  
  29. id23=GUIADDCONTROL {
  30.     Parent     = 0,
  31.     Name       = "ProfileFrame",
  32.     Title       = "ProfileFrame",
  33.     ControlType= ID_FRAME,
  34.     BoundRect  = {0,0,1024,768},
  35.     Texture    = "GUI/profile_left.dds",
  36.     Rec1STTexture = {0,232,1,233},
  37.   
  38.     MESSAGE_MAP = {
  39.         {PGUI_INITIALISATION , "INITPROFILE"},
  40.     },
  41. };
  42.  
  43. right=GUIADDCONTROL {
  44.     Parent     = id23,
  45.     Name       = "profile_right",
  46.     Title       = "profile_right",
  47.     ControlType= ID_FRAME,
  48.     BoundRect  = {515,192,781,545},
  49.     Texture    = "GUI/profile_right.dds",
  50.     ToolTip    = "Right",
  51.     Rec1STTexture = {0,0,266,353},
  52. };
  53.  
  54. left=GUIADDCONTROL {
  55.     Parent     = id23,
  56.     Name       = "profile_left",
  57.     Title       = "profile_left",
  58.     ControlType= ID_FRAME,
  59.     BoundRect  = {248,192,514,545},
  60.     Texture    = "GUI/profile_left.dds",
  61.     ToolTip    = "Left",
  62.     Rec1STTexture = {0,0,266,353},
  63. };
  64.  
  65. GUIADDCONTROL {
  66.     Parent     = id23,
  67.     Name       = "Create",
  68.     ControlType= ID_BUTTON,
  69.     BoundRect  = {266,490,375,519},
  70.     Texture    = "GUI/profile_left.dds",
  71.     ToolTip    = "Create profile",
  72.     Rec1STTexture = {510,232,511,233},
  73.     Rec2NDTexture = {0,383,108,411},
  74.     Rec3RDTexture = {510,232,511,233},
  75.     Rec4THTexture = {510,232,511,233},
  76.     MESSAGE_MAP = {
  77.         {PGUI_INITIALISATION , "INITCREATEBUTTON"},
  78.         {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_CREATE"},
  79.     },
  80. };
  81.  
  82. GUIADDCONTROL {
  83.     Parent     = id23,
  84.     Name       = "Load",
  85.     ControlType= ID_BUTTON,
  86.     BoundRect  = {393,490,502,519},
  87.     Texture    = "GUI/profile_left.dds",
  88.     ToolTip    = "Load profile",
  89.     Rec1STTexture = {510,232,511,233},
  90.     Rec2NDTexture = {0,354,108,383},
  91.     Rec3RDTexture = {510,232,511,233},
  92.     Rec4THTexture = {510,232,511,233},
  93.  
  94.     MESSAGE_MAP = {
  95.         {PGUI_INITIALISATION , "INITLOADBUTTON"},
  96.         {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_LOAD"},
  97.     },
  98. };
  99.  
  100. GUIADDCONTROL {
  101.     Parent     = id23,
  102.     Name       = "Delete",
  103.     ControlType= ID_BUTTON,
  104.     BoundRect  = {522,490,631,519},
  105.     Texture    = "GUI/profile_right.dds",
  106.     ToolTip    = "Delete profile",
  107.     Rec1STTexture = {510,232,511,233},
  108.     Rec2NDTexture = {0,354,108,383},
  109.     Rec3RDTexture = {510,232,511,233},
  110.     Rec4THTexture = {510,232,511,233},
  111.     MESSAGE_MAP = {
  112.         {PGUI_INITIALISATION , "INITDELETEBUTTON"},
  113.         {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_DELETE"},
  114.     },
  115. };
  116.  
  117.  
  118. GUIADDCONTROL {
  119.     Parent     = id23,
  120.     Name       = "Back",
  121.     ControlType= ID_BUTTON,
  122.     BoundRect  = {651,490,759,519},
  123.     Texture    = "GUI/profile_right.dds",
  124.     ToolTip    = "Main menu",
  125.     Rec1STTexture = {510,232,511,233},
  126.     Rec2NDTexture = {0,383,108,411},
  127.     Rec3RDTexture = {510,232,511,233},
  128.     Rec4THTexture = {510,232,511,233},
  129.  
  130.     MESSAGE_MAP = {
  131.         {PGUI_INITIALISATION , "INITBACKBUTTON"},
  132.         {PGUI_1STBUTTON_CLCK , "SETDLGRESULT_NO"},
  133.     },
  134. };
  135.  
  136. radio23 = GUIADDCONTROL {
  137.     Parent     = id23,
  138.     Name       = "Profile1",
  139.     ControlType= ID_RADIO_BUTTON,
  140.     Title      = "Compass",
  141.     BoundRect  = {290,306,503,335},
  142.     Texture    = "GUI/profile_right.dds",
  143.     Rec1STTexture = {510,232,511,233},
  144.     Rec2NDTexture = {510,232,511,233},
  145.     Rec3RDTexture = {0,412,213,440},
  146.     Rec4THTexture = {0,412,213,440},
  147.     MESSAGE_MAP = {
  148.         {PGUI_INITIALISATION , "PROF1"},
  149.     },
  150. };
  151.  
  152. GUIADDCONTROL {
  153.    Parent      = id23,
  154.    Name        = "ProfileText_1",
  155.    ControlType = ID_TEXT_BOX,
  156.    Long1st     = PGUI_SINGLELINE_TEXT,
  157.    BoundRect   = {290,306,503,335},
  158.    Texture    = "GUI/profile_right.dds",
  159.    Rec1STTexture = {510,232,511,233},
  160.    Rec2NDTexture = {510,232,511,233},
  161.    FontColor  = 4290494599,
  162.    FontHeight = 17,
  163.    FontWidth  = 9,
  164.     MESSAGE_MAP = {
  165.         {PGUI_INITIALISATION , "PROF1t"},
  166.     },
  167. };
  168.  
  169. GUIADDCONTROL {
  170.     Parent     = id23,
  171.     Name       = "Profile2",
  172.     ControlType= ID_RADIO_BUTTON,
  173.     BoundRect  = {290,346,503,375},
  174.     MessageParentID = radio23,
  175.     Title      = "Compass",
  176.     Texture    = "GUI/profile_right.dds",
  177.     Rec1STTexture = {510,232,511,233},
  178.     Rec2NDTexture = {510,232,511,233},
  179.     Rec3RDTexture = {0,412,213,440},
  180.     Rec4THTexture = {0,412,213,440},
  181.     MESSAGE_MAP = {
  182.         {PGUI_INITIALISATION , "PROF2"},
  183.     },
  184. };
  185.  
  186. GUIADDCONTROL {
  187.    Parent      = id23,
  188.    Name        = "ProfileText_2",
  189.    ControlType = ID_TEXT_BOX,
  190.    Long1st     = PGUI_SINGLELINE_TEXT,
  191.    BoundRect   = {290,346,503,375},
  192.    Texture    = "GUI/profile_right.dds",
  193.    Rec1STTexture = {510,232,511,233},
  194.    Rec2NDTexture = {510,232,511,233},
  195.    FontColor  = 4290494599,
  196.    FontHeight = 17,
  197.    FontWidth  = 9,
  198.     MESSAGE_MAP = {
  199.         {PGUI_INITIALISATION , "PROF2t"},
  200.     },
  201. };
  202.  
  203. GUIADDCONTROL {
  204.     Parent     = id23,
  205.     Name       = "Profile3",
  206.     ControlType= ID_RADIO_BUTTON,
  207.     BoundRect  = {290,386,503,415},
  208.     Title      = "Compass",
  209.     MessageParentID = radio23,
  210.     Texture    = "GUI/profile_right.dds",
  211.     Rec1STTexture = {510,232,511,233},
  212.     Rec2NDTexture = {510,232,511,233},
  213.     Rec3RDTexture = {0,412,213,440},
  214.     Rec4THTexture = {0,412,213,440},
  215.     MESSAGE_MAP = {
  216.         {PGUI_INITIALISATION , "PROF3"},
  217.     },
  218. };
  219.  
  220. GUIADDCONTROL {
  221.    Parent      = id23,
  222.    Name        = "ProfileText_3",
  223.    ControlType = ID_TEXT_BOX,
  224.    Long1st     = PGUI_SINGLELINE_TEXT,
  225.    BoundRect   = {290,386,503,415},
  226.    Texture    = "GUI/profile_right.dds",
  227.    Rec1STTexture = {510,232,511,233},
  228.    Rec2NDTexture = {510,232,511,233},
  229.    FontColor  = 4290494599,
  230.    FontHeight = 17,
  231.    FontWidth  = 9,
  232.     MESSAGE_MAP = {
  233.         {PGUI_INITIALISATION , "PROF3t"},
  234.     },
  235. };
  236.  
  237. GUIADDCONTROL {
  238.     Parent     = id23,
  239.     Name       = "Profile4",
  240.     ControlType= ID_RADIO_BUTTON,
  241.     BoundRect  = {290,426,503,455},
  242.     MessageParentID = radio23,
  243.     Title      = "Compass",
  244.     Texture    = "GUI/profile_right.dds",
  245.     Rec1STTexture = {510,232,511,233},
  246.     Rec2NDTexture = {510,232,511,233},
  247.     Rec3RDTexture = {0,412,213,440},
  248.     Rec4THTexture = {0,412,213,440},
  249.     MESSAGE_MAP = {
  250.         {PGUI_INITIALISATION , "PROF4"},
  251.     },
  252. };
  253.  
  254. GUIADDCONTROL {
  255.    Parent      = id23,
  256.    Name        = "ProfileText_4",
  257.    ControlType = ID_TEXT_BOX,
  258.    Long1st     = PGUI_SINGLELINE_TEXT,
  259.    BoundRect   = {290,426,503,455},
  260.    Texture    = "GUI/profile_right.dds",
  261.    Rec1STTexture = {510,232,511,233},
  262.    Rec2NDTexture = {510,232,511,233},
  263.    FontColor  = 4290494599,
  264.    FontHeight = 17,
  265.    FontWidth  = 9,
  266.     MESSAGE_MAP = {
  267.         {PGUI_INITIALISATION , "PROF4t"},
  268.     },
  269. };
  270.  
  271. GUIADDCONTROL {
  272.     Parent     = id23,
  273.     Name       = "Profile5",
  274.     ControlType= ID_RADIO_BUTTON,
  275.     BoundRect  = {522,306,735,335},
  276.     MessageParentID = radio23,
  277.     Texture    = "GUI/profile_right.dds",
  278.     Title      = "Compass",
  279.     Rec1STTexture = {510,232,511,233},
  280.     Rec2NDTexture = {510,232,511,233},
  281.     Rec3RDTexture = {0,412,213,440},
  282.     Rec4THTexture = {0,412,213,440},
  283.     MESSAGE_MAP = {
  284.         {PGUI_INITIALISATION , "PROF5"},
  285.     },
  286. };
  287.  
  288. GUIADDCONTROL {
  289.    Parent      = id23,
  290.    Name        = "ProfileText_5",
  291.    ControlType = ID_TEXT_BOX,
  292.    Long1st     = PGUI_SINGLELINE_TEXT,
  293.    BoundRect   = {522,306,735,335},
  294.    Texture    = "GUI/profile_right.dds",
  295.    Rec1STTexture = {510,232,511,233},
  296.    Rec2NDTexture = {510,232,511,233},
  297.    FontColor  = 4290494599,
  298.    FontHeight = 17,
  299.    FontWidth  = 9,
  300.     MESSAGE_MAP = {
  301.         {PGUI_INITIALISATION , "PROF5t"},
  302.     },
  303. };
  304.  
  305. GUIADDCONTROL {
  306.     Parent     = id23,
  307.     Name       = "Profile6",
  308.     ControlType= ID_RADIO_BUTTON,
  309.     BoundRect  = {522,346,735,375},
  310.     MessageParentID = radio23,
  311.     Texture    = "GUI/profile_right.dds",
  312.     Rec1STTexture = {510,232,511,233},
  313.     Title      = "Compass",
  314.     Rec2NDTexture = {510,232,511,233},
  315.     Rec3RDTexture = {0,412,213,440},
  316.     Rec4THTexture = {0,412,213,440},
  317.     MESSAGE_MAP = {
  318.         {PGUI_INITIALISATION , "PROF6"},
  319.     },
  320. };
  321.  
  322.  
  323. GUIADDCONTROL {
  324.    Parent      = id23,
  325.    Name        = "ProfileText_6",
  326.    ControlType = ID_TEXT_BOX,
  327.    Long1st     = PGUI_SINGLELINE_TEXT,
  328.    BoundRect   = {522,346,735,375},
  329.    Texture    = "GUI/profile_right.dds",
  330.    Rec1STTexture = {510,232,511,233},
  331.    Rec2NDTexture = {510,232,511,233},
  332.    FontColor  = 4290494599,
  333.    FontHeight = 17,
  334.    FontWidth  = 9,
  335.     MESSAGE_MAP = {
  336.         {PGUI_INITIALISATION , "PROF6t"},
  337.     },
  338. };
  339.  
  340. GUIADDCONTROL {
  341.     Parent     = id23,
  342.     Name       = "Profile7",
  343.     ControlType= ID_RADIO_BUTTON,
  344.     BoundRect  = {522,386,735,415},
  345.     MessageParentID = radio23,
  346.     Title      = "Compass",
  347.     Texture    = "GUI/profile_right.dds",
  348.     Rec1STTexture = {510,232,511,233},
  349.     Rec2NDTexture = {510,232,511,233},
  350.     Rec3RDTexture = {0,412,213,440},
  351.     Rec4THTexture = {0,412,213,440},
  352.     MESSAGE_MAP = {
  353.         {PGUI_INITIALISATION , "PROF7"},
  354.     },
  355. };
  356.  
  357. GUIADDCONTROL {
  358.    Parent      = id23,
  359.    Name        = "ProfileText_7",
  360.    ControlType = ID_TEXT_BOX,
  361.    Long1st     = PGUI_SINGLELINE_TEXT,
  362.    BoundRect   = {522,386,735,415},
  363.    Texture    = "GUI/profile_right.dds",
  364.    Rec1STTexture = {510,232,511,233},
  365.    Rec2NDTexture = {510,232,511,233},
  366.    FontColor  = 4290494599,
  367.    FontHeight = 17,
  368.    FontWidth  = 9,
  369.     MESSAGE_MAP = {
  370.         {PGUI_INITIALISATION , "PROF7t"},
  371.     },
  372. };
  373.  
  374. GUIADDCONTROL {
  375.     Parent     = id23,
  376.     Name       = "Profile8",
  377.     ControlType= ID_RADIO_BUTTON,
  378.     BoundRect  = {522,426,735,455},
  379.     MessageParentID = radio23,
  380.     Title      = "Compass",
  381.     Texture    = "GUI/profile_right.dds",
  382.     Rec1STTexture = {510,232,511,233},
  383.     Rec2NDTexture = {510,232,511,233},
  384.     Rec3RDTexture = {0,412,213,440},
  385.     Rec4THTexture = {0,412,213,440},
  386.     MESSAGE_MAP = {
  387.         {PGUI_INITIALISATION , "PROF8"},
  388.     },
  389. };
  390.  
  391.  
  392. GUIADDCONTROL {
  393.    Parent      = id23,
  394.    Name        = "ProfileText_8",
  395.    ControlType = ID_TEXT_BOX,
  396.    Long1st     = PGUI_SINGLELINE_TEXT,
  397.    BoundRect   = {522,426,735,455},
  398.    Texture    = "GUI/profile_right.dds",
  399.    Rec1STTexture = {510,232,511,233},
  400.    Rec2NDTexture = {510,232,511,233},
  401.    FontColor  = 4290494599,
  402.    FontHeight = 17,
  403.    FontWidth  = 9,
  404.     MESSAGE_MAP = {
  405.         {PGUI_INITIALISATION , "PROF8t"},
  406.     },
  407. };
  408.  
  409. GUIADDCONTROL {
  410.    Parent      = id23,
  411.    Name        = "ProfileText_238",
  412.    Title       = "ProfileEdit",
  413.    ControlType = ID_EDIT_BOX,
  414.    Long1st     = PGUI_SINGLELINE_TEXT,
  415.    BoundRect   = {410,257,615,287},
  416.    Texture    = "GUI/profile_right.dds",
  417.    Rec1STTexture = {510,232,511,233},
  418.    Rec2NDTexture = {128,64,129,65},
  419.    FontColor  = 4290494599,
  420.    FontHeight = 17,
  421.    FontWidth  = 9,
  422.    SecRect    = {2,0,200,30},
  423.    Rec3RDTexture ={510,232,511,233},
  424.  
  425.     MESSAGE_MAP = {
  426.         {PGUI_INITIALISATION , "INITPROFILEEDIT"},
  427.     },
  428. };
  429.